Setting a container property for customized script files
You should not need to customize the runtime cluster or runtime cloud script files but if you do, set a container property to indicate that a customized file should be used rather than the distributed file.
About this task
Setting a container property identifies a customized file to and preserves its contents from one release to the next.
The scripting engine that you use depends on whether you use Windows or Linux. If you are running:
- Windows and a basic runtime, or if you are running a runtime cluster that does not use UNC paths or forked execution, then batch scripts (.bat) are used.
- Windows and a runtime cluster that use UNC paths or forked execution, or if you are running a basic runtime, then PowerShell scripts (.ps1) are used.
- Linux, then shell scripts (.sh) are used in all situations.
Procedure
-
In the Manage menu, select Runtime Management.
-
Select the runtime cluster or runtime cloud cluster from the list.
-
In Settings & Configuration, click Runtime cluster Properties or Cloud Properties.
-
Click the Advanced tab and set a property for each customized file that you created.
The value of each property is based on the customized file's name. For example, if you customized the procrunner.ps1 file and named it procrunner-CUSTOM.ps1, set the Customized Procrunner Script File Name value to CUSTOM.
-
If you customized the procrunner file, select the Customized Procrunner Script File Name property, click
Add a Property, and add CUSTOM in the Property Value field.
-
If you customized the procbrowser file, select the Customized Procbrowser Script File Name property, click
Add a Property, and add CUSTOM in the Property Value field.
-
If you customized the procworker file, select the Customized Procworker Script File Name property, click
Add a Property, and add CUSTOM in the Property Value field.
-
If you customized the restart file, select the Customized Restart Script File Name property, click
Add a Property, and add CUSTOM in the Property Value field.
-
-
Click Save.
The property values are saved and added to the runtime cluster or Cloud’s
<installation_directory>/conf/container.propertiesfile.